using SimpleServiceBus.Bus.Pipeline;

namespace SimpleServiceBus.Bus.MessageManagement.MessageHandling
{
    public interface IMessageHandler<T>
    {
        void Handle(T message, IMessageContext context);
    }

    public interface IMessageHandler
    {
        void Handle(object message, IMessageContext context);
    }
}